package com.san.hkhospital.service;

import com.san.hkhospital.entity.SurDo;
import java.util.List;
import com.san.hkhospital.entity.SurDoExample;
import com.san.hkhospital.entity.Surgery;
import com.san.hkhospital.vo.Search2;
import com.san.hkhospital.vo.surdoTableVO;

/**
 * ClassName:SurDoService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface SurDoService{


    long countByExample(SurDoExample example);

    int deleteByExample(SurDoExample example);

    int deleteByPrimaryKey(Integer sdId);

    int insert(SurDo record);

    int insertSelective(SurDo record);

    List<SurDo> selectByExample(SurDoExample example);

    SurDo selectByPrimaryKey(Integer sdId);

    int updateByExampleSelective(SurDo record,SurDoExample example);

    int updateByExample(SurDo record,SurDoExample example);

    int updateByPrimaryKeySelective(SurDo record);

    int updateByPrimaryKey(SurDo record);

        SurDo find(Integer id);

        List<surdoTableVO> findAll();

        boolean add(SurDo surDo);

        boolean update(SurDo surDo);

        List<surdoTableVO> search(Search2 search2);

       boolean shoushuStart(Integer sdId);

       boolean  shoushuEnd(Integer sdId);


}
